home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Rozne / HTTrack 3.40-2 / httrack-3.40-2.exe / {app} / src_win / WinHTTrack / XSHBrowseForFolder.h < prev   
C/C++ Source or Header  |  1999-10-16  |  1KB  |  35 lines

  1. // ----------------------------------------------------------------------
  2. // 'extended' SHBrowseForFolder routine. ('New folder' button added)
  3. // Written by Xavier Roche, with the help of Gil Rosin, 
  4. // Todd Fast's routines from Pencilneck Software and other Usenet contributors.
  5. // 
  6. // Usage: (example)
  7. // CString path = XSHBrowseForFolder(this->m_hWnd,"Select path","c:\\") {
  8. //
  9. // Freeware, but no warranty!
  10. //
  11. // #include "NewFolder.h"             for Input dialog (new folder)
  12. // #include <direct.h>                for _mkdir
  13. // ----------------------------------------------------------------------
  14.  
  15. #if !defined(__XSHBrowseForFolder_routines)
  16. #define __XSHBrowseForFolder_routines 
  17.  
  18. // TODO: Put here your ressource definition
  19. #include "resource.h"
  20. #include "NewFolder.h"
  21.  
  22. #include <direct.h>
  23. #include "shlobj.h"
  24.  
  25. #define XSHBrowseForFolder_SETSTRING 1234
  26. #define XSHBrowseForFolder_OK 1
  27.  
  28. CString        XSHBrowseForFolder (HWND hwnd,char* title,char* _path);
  29. long __stdcall XSHBFF_WndProc     (HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
  30. int __stdcall  XSHBFF_CallbackProc(HWND hwnd,UINT uMsg,LPARAM lParam,LPARAM lpData);
  31. LPITEMIDLIST   XSHBFF_PathConvert (HWND hwnd,char* _path);
  32.  
  33. #endif
  34.  
  35.